package de.fstyle.android.worldcanvas;

import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;

public class SimpleLocationListener implements LocationListener {

	private LocationWrapper locationWrapper;
	
	public SimpleLocationListener(LocationWrapper locationWrapper) {
		this.locationWrapper = locationWrapper;
	}

	@Override
	public void onLocationChanged(Location location) {
		this.locationWrapper.setLocation(location);
	}

	@Override
	public void onProviderDisabled(String provider) {
	}

	@Override
	public void onProviderEnabled(String provider) {
	}

	@Override
	public void onStatusChanged(String arg0, int arg1, Bundle arg2) {
	}

}
